package com.purchase.ml.bean.req.mail;

import com.purchase.ml.entity.dealer.SysDealer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author :zxm
 * @date :2021/2/25 14:00
 * @description :some description
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "通过经销商的申请model")
public class DealerStateEditDto extends SysDealer implements Serializable {

    @ApiModelProperty(value = "主键id->经销商id")
    @NotNull(message = "ID tidak boleh kosong")
    private Long id;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateAt;

    /**
     * 状态：0申请；1通过；2禁用
     */
    @ApiModelProperty(value = "状态：0申请；1通过；2禁用")
    private Integer state;
}
